package com.ms.demo;

/**
 * @description: 具体状态类  停止状态
 * @author: ms
 * @create: 2022-10-27 17:39
 */
public class StopState implements State {

    public void doAction(Context context) {
        System.out.println("停止播放");
        context.setState(this);
    }

    public String toString(){
        return "Stop State";
    }
}